package com.ppc.mapper.user;

import com.ppc.entity.File;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 文件mapper
 *
 * @author jianKangS1
 * @date 2023/12/20
 */
@Mapper
public interface FileMapper {

  void insertFile(File imgFile);

  @Select("select * from file where file_id=#{fileId}")
  File selectFileById(Long fileId);
}
